/**
 * com.cnhis.his.customer.mapper.Abq1.java
 */
package com.mbmed.doctor.homepage.mapper;

import javax.xml.bind.annotation.XmlRootElement;

import com.mbmed.doctor.commons.utils.BaseVO;

/**
 * @file  Abq1.java
 * @author 刘武
 * @version 0.1
 * @todo	Abq1数据值
 * Copyright(C), 2013-2014
 *		 Shenzhen Coordinates Software Development Co., Ltd.
 * History
 *   	1. Date: 2014-11-24 06:37:54
 *      	Author: 刘武
 *      	Modification: this file was created
 *   	2. ...
 */
@XmlRootElement
public class Abq1 extends BaseVO implements java.io.Serializable{

	private java.lang.String abq01;
	private java.lang.String abq02;
	private java.lang.String abq03;
	private java.lang.Short rownr;
	private java.lang.String abq05;
	private java.lang.Byte isdef;
	private java.lang.String abbrp;
	private java.lang.String abbrw;
	public Abq1(){
	}

	public Abq1(
		java.lang.String abq01
	){
		this.abq01 = abq01;
	}



	public void setAbq01(java.lang.String value) {
		this.abq01 = value;
	}	
	public java.lang.String getAbq01() {
		return this.abq01;
	}

	public void setAbq02(java.lang.String value) {
		this.abq02 = value;
	}	
	public java.lang.String getAbq02() {
		return this.abq02;
	}

	public void setAbq03(java.lang.String value) {
		this.abq03 = value;
	}	
	public java.lang.String getAbq03() {
		return this.abq03;
	}

	public void setRownr(java.lang.Short value) {
		this.rownr = value;
	}	
	public java.lang.Short getRownr() {
		return this.rownr;
	}

	public void setAbq05(java.lang.String value) {
		this.abq05 = value;
	}	
	public java.lang.String getAbq05() {
		return this.abq05;
	}

	public void setIsdef(java.lang.Byte value) {
		this.isdef = value;
	}	
	public java.lang.Byte getIsdef() {
		return this.isdef;
	}

	public void setAbbrp(java.lang.String value) {
		this.abbrp = value;
	}	
	public java.lang.String getAbbrp() {
		return this.abbrp;
	}

	public void setAbbrw(java.lang.String value) {
		this.abbrw = value;
	}	
	public java.lang.String getAbbrw() {
		return this.abbrw;
	}


    public String toString() {
		  StringBuffer buffer = new StringBuffer();
		  buffer.append(getClass().getName()).append("@").append(Integer.toHexString(hashCode())).append(" [");	
			   buffer.append("Abq01").append("='").append(getAbq01()).append("' ");	
			   buffer.append("Abq02").append("='").append(getAbq02()).append("' ");	
			   buffer.append("Abq03").append("='").append(getAbq03()).append("' ");	
			   buffer.append("Rownr").append("='").append(getRownr()).append("' ");	
			   buffer.append("Abq05").append("='").append(getAbq05()).append("' ");	
			   buffer.append("Isdef").append("='").append(getIsdef()).append("' ");	
			   buffer.append("Abbrp").append("='").append(getAbbrp()).append("' ");	
			   buffer.append("Abbrw").append("='").append(getAbbrw()).append("' ");	
		  buffer.append("]");
		  return buffer.toString();
	}		

	public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof Abq1) ) return false;
		 Abq1  castOther = ( Abq1) other;  
		 return 
					( (this.getAbq01()==castOther.getAbq01()) ||( this.getAbq01()!=null && castOther.getAbq01()!=null && this.getAbq01().equals(castOther.getAbq01()) ) )
					&&( (this.getAbq02()==castOther.getAbq02()) ||( this.getAbq02()!=null && castOther.getAbq02()!=null && this.getAbq02().equals(castOther.getAbq02()) ) )
					&&( (this.getAbq03()==castOther.getAbq03()) ||( this.getAbq03()!=null && castOther.getAbq03()!=null && this.getAbq03().equals(castOther.getAbq03()) ) )
					&&( (this.getRownr()==castOther.getRownr()) ||( this.getRownr()!=null && castOther.getRownr()!=null && this.getRownr().equals(castOther.getRownr()) ) )
					&&( (this.getAbq05()==castOther.getAbq05()) ||( this.getAbq05()!=null && castOther.getAbq05()!=null && this.getAbq05().equals(castOther.getAbq05()) ) )
					&&( (this.getIsdef()==castOther.getIsdef()) ||( this.getIsdef()!=null && castOther.getIsdef()!=null && this.getIsdef().equals(castOther.getIsdef()) ) )
					&&( (this.getAbbrp()==castOther.getAbbrp()) ||( this.getAbbrp()!=null && castOther.getAbbrp()!=null && this.getAbbrp().equals(castOther.getAbbrp()) ) )
					&&( (this.getAbbrw()==castOther.getAbbrw()) ||( this.getAbbrw()!=null && castOther.getAbbrw()!=null && this.getAbbrw().equals(castOther.getAbbrw()) ) )
			;
    }

	public int hashCode() {
         int result = 17;
				  result = 37 * result + (getAbq01() == null ? 0 : this.getAbq01().hashCode() );
				  result = 37 * result + (getAbq02() == null ? 0 : this.getAbq02().hashCode() );
				  result = 37 * result + (getAbq03() == null ? 0 : this.getAbq03().hashCode() );
				  result = 37 * result + (getRownr() == null ? 0 : this.getRownr().hashCode() );
				  result = 37 * result + (getAbq05() == null ? 0 : this.getAbq05().hashCode() );
				  result = 37 * result + (getIsdef() == null ? 0 : this.getIsdef().hashCode() );
				  result = 37 * result + (getAbbrp() == null ? 0 : this.getAbbrp().hashCode() );
				  result = 37 * result + (getAbbrw() == null ? 0 : this.getAbbrw().hashCode() );
         return result;
	} 
	
}
